package com.zygk.xmpp.model;

import java.io.Serializable;

public class M_ChatItem implements Serializable {
	public static final int CHAT = 0; 
	public static final int GROUP_CHAT = 1;
	private int chatType;     // 0 chat  1 groupChat 2 noti
	private String chatName;  //群聊的话跟username不一样
	private String username;  //对方的昵称
	private String head;
	private String msg;       //消息主体
	private String sendDate;
	private int inOrOut;     //0代表in 1代表out
	private int Iswork;
	private String serialnumber;
	private String link;
	private int issubmit;
	private String parms;
	private String Datas;
	private String msgUrl;
	private int isbit;        //是否显示时间
	private int isRead;
	private String bodyType;      //"5":视频

	public M_ChatItem() {
		super();
	}

	public M_ChatItem(int chatType, String chatName, String username, String head, String msg, String sendDate,
					  int inOrOut, int Iswork, String serialnumber, String link, int issubmit, String parms, String Datas, String msgUrl, int isbit, int isRead, String bodyType) {
		super();
		this.chatType = chatType;
		this.chatName = chatName;
		this.username = username;
		this.head = head;
		this.msg = msg;
		this.sendDate = sendDate;
		this.inOrOut = inOrOut;
		this.Iswork =Iswork;
		this.serialnumber = serialnumber;
		this.link=link;
		this.issubmit =issubmit;
		this.parms=parms;
		this.Datas =Datas;
		this.msgUrl=msgUrl;
		this.isbit =isbit;
		this.isRead =isRead;
		this.bodyType = bodyType;
	}

	public int getChatType() {
		return chatType;
	}

	public void setChatType(int chatType) {
		this.chatType = chatType;
	}

	public String getChatName() {
		return chatName;
	}

	public void setChatName(String chatName) {
		this.chatName = chatName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getHead() {
		return head;
	}

	public void setHead(String head) {
		this.head = head;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getSendDate() {
		return sendDate;
	}

	public void setSendDate(String sendDate) {
		this.sendDate = sendDate;
	}

	public int getInOrOut() {
		return inOrOut;
	}

	public void setInOrOut(int inOrOut) {
		this.inOrOut = inOrOut;
	}

	public int getIswork() {
		return Iswork;
	}

	public void setIswork(int iswork) {
		Iswork = iswork;
	}

	public String getSerialnumber() {
		return serialnumber;
	}

	public void setSerialnumber(String serialnumber) {
		this.serialnumber = serialnumber;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public int getIssubmit() {
		return issubmit;
	}

	public void setIssubmit(int issubmit) {
		this.issubmit = issubmit;
	}

	public String getParms() {
		return parms;
	}

	public void setParms(String parms) {
		this.parms = parms;
	}

	public String getDatas() {
		return Datas;
	}

	public void setDatas(String datas) {
		Datas = datas;
	}

	public String getMsgUrl() {
		return msgUrl;
	}

	public void setMsgUrl(String msgUrl) {
		this.msgUrl = msgUrl;
	}

	public int getIsbit() {
		return isbit;
	}

	public void setIsbit(int isbit) {
		this.isbit = isbit;
	}

	public int getIsRead() {
		return isRead;
	}

	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}

	public String getBodyType() {
		return bodyType;
	}

	public void setBodyType(String bodyType) {
		this.bodyType = bodyType;
	}
}
